<?php
/**
 * Created by PhpStorm.
 * User: Sergey
 * Date: 22.02.14
 * Time: 16:31
 */

class Quiz
{
    public $id;
    public $name;
    public $description;
    /**
     * @var DateTime
     */
    public $startDate;
    /**
     * @var DateTime
     */
    public $endDate;
    public $tutorId;

    public $questions;
    public $groups;

    public function __construct()
    {
        $this->id = 0;
        $this->startDate = new \DateTime();
        $this->endDate = new \DateTime();
        $this->questions = array();
        $this->groups = array();
    }
} 